Biofeedback electrical stimulation